Skip to content

Clarify request fixture in indirect parametrization docs#14539

Merged
nicoddemus merged 2 commits into
pytest-dev:mainfrom
morning-verlu:codex/clarify-indirect-request-fixture
Jun 4, 2026
Merged

Clarify request fixture in indirect parametrization docs#14539
nicoddemus merged 2 commits into
pytest-dev:mainfrom
morning-verlu:codex/clarify-indirect-request-fixture

Conversation

@morning-verlu
Copy link
Copy Markdown
Contributor

Summary

  • clarify that request in the indirect parametrization example is pytest's built-in FixtureRequest fixture
  • explain that indirect parameter values are exposed to the fixture via request.param

Closes #13155.

Checks

  • git diff --check
  • uvx tox -e docs -- doc/en/example/parametrize.rst

@morning-verlu morning-verlu force-pushed the codex/clarify-indirect-request-fixture branch from 6901881 to 50eb08f Compare May 31, 2026 14:56
@psf-chronographer psf-chronographer Bot added the bot:chronographer:provided (automation) changelog entry is part of PR label May 31, 2026
@nicoddemus
Copy link
Copy Markdown
Member

Thanks! Added as a note after the paragraph, as I think that way it flows better.

@nicoddemus nicoddemus added the backport 9.0.x apply to PRs at any point; backports the changes to the 9.0.x branch label Jun 4, 2026
@nicoddemus nicoddemus enabled auto-merge (squash) June 4, 2026 12:49
@nicoddemus nicoddemus disabled auto-merge June 4, 2026 12:49
@nicoddemus nicoddemus merged commit 3422c67 into pytest-dev:main Jun 4, 2026
35 checks passed
@patchback
Copy link
Copy Markdown

patchback Bot commented Jun 4, 2026

Backport to 9.0.x: 💚 backport PR created

✅ Backport PR branch: patchback/backports/9.0.x/3422c67a3a46ccb4b5549c88821d5d768843418e/pr-14539

Backported as #14555

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

nicoddemus added a commit that referenced this pull request Jun 4, 2026
…4555)

Closes #13155

---------


(cherry picked from commit 3422c67)

Co-authored-by: morning-verlu <wurslu@gmail.com>
Co-authored-by: Bruno Oliveira <bruno@pytest.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport 9.0.x apply to PRs at any point; backports the changes to the 9.0.x branch bot:chronographer:provided (automation) changelog entry is part of PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DOCS, BUG: Using and clarifying the request fixture.

2 participants